package xyz.bali16.module.article.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.bali16.module.article.entity.Collect;
import xyz.bali16.module.article.model.collection.CollectionAddParam;
import xyz.bali16.module.article.model.collection.CollectionPageParam;

public interface CollectionService extends IService<Collect> {

	IPage<Collect> getPage(CollectionPageParam param);
	void addCollection(CollectionAddParam param) throws Exception;

	void delete(String likeId) throws Exception;

	boolean isExist(String targetId);
}
